<%@ include file="/common/taglibs.jsp"%>

<head>
    <title>Listado de Contenedores</title>
    <meta name="menu" content="Disenio"/>
</head>

<c:set var="buttons">
    <input type="button" style="margin-right: 5px"
        onclick="location.href='<c:url value="/editContenedor.html"/>'"
        value="<fmt:message key="button.add"/>"/>
    
    <input type="button" onclick="location.href='<c:url value="/mainMenu.html"/>'"
        value="<fmt:message key="button.done"/>"/>
</c:set>
<c:out value="${buttons}" escapeXml="false" />

<s:set name="contenedores" value="contenedores" scope="request"/>
<display:table name="contenedores" class="table" requestURI="" id="contenedorList" export="true" pagesize="25">
    <display:column property="id" sortable="true" href="editContenedor.html" 
        paramId="id" paramProperty="id" title="ID" />
    <display:column property="nombre" sortable="true" title="Nombre"/>

    <display:setProperty name="paging.banner.item_name" value="contenedor"/>
    <display:setProperty name="paging.banner.items_name" value="contenedores"/>
</display:table>

<c:out value="${buttons}" escapeXml="false" />

<script type="text/javascript">
    highlightTableRows("contenedorList");
</script>
